package com.sybercare.basis.users.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sybercare.basis.users.dao.UserRepository;
import com.sybercare.basis.users.entity.User;

@Service("userService")
public class UserServiceImpl implements IUserService {

	@Autowired
	private UserRepository userRepository;

	@Override
	public User findUsers(Long id) {
		return this.userRepository.findOne(id);
	}

}
